package com.jzoom.zoom.admin.models;

import com.jzoom.zoom.dao.Ar;

import java.util.Map;

public interface DaoListener {

    void beforeAdd(Ar ar, String table, Map<String, Object> data);

    void onAdd(Ar ar, String table, Map<String, Object> data);

    void beforeUpdae(Ar ar, String table, Object id, Map<String, Object> data);

    void onUpdate(Ar ar, String table, Object id, Map<String, Object> data);

    void beforeModify(Ar ar, String table, Object id, Map<String, Object> data);


    void beforeDel(Ar ar, String table, Object id);

    void onDel(Ar ar, String table, Object id);
}
